﻿<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>文章分类</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
		<link href="./Public/Admin/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="./Public/Admin/css/font-awesome.min.css" />

		<!-- fonts -->

		<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />

		<!-- ace styles -->

		<link rel="stylesheet" href="./Public/Admin/css/ace.min.css" />
		<link rel="stylesheet" href="./Public/Admin/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="./Public/Admin/css/ace-skins.min.css" />

		<!-- ace settings handler -->

		<script src="./Public/Admin/js/ace-extra.min.js"></script>
	</head>

	<body>
		
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">首页</a>
							</li>
							<li class="active">前台管理</li>
							<li class="active">图片部分</li>
						</ul><!-- .breadcrumb -->
					</div>

					<div class="page-content">
											<table id="sample-table-1" class="table table-striped table-bordered table-hover">
												<thead>
													<tr>
														<th>编号</th>
														<th>图片</th>
														<th>操作选项</th>
													</tr>
												</thead>
												<tbody>
													<{foreach $data as $val}>
														<tr>
														<td><{$val.id}></td>
														<td align="center">
															<img src="<{$val.images}>" width="200px" height="80px">
														</td>
														<td>
															<a class="btn" href="?c=Reception&a=images_edit&id=<{$val.id}>">修改</a>
														</td>
														</tr>
													<{/foreach}>
												</tbody>
											</table>
										</div><!-- /.table-responsive -->
									</div><!-- /span -->
								</div><!-- /row -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->

		<script src="./Public/Admin/js/jquery-2.0.3.min.js"></script>

		<!-- 弹出层 -->
		<script src="./Frame/Vendor/layer/layer.js"></script>

		<script type="text/javascript">
		$(document).ready(function(){
			$("#test123").click(function(){
				alert(location.href);
			})
		});
		function dels(id){
			layer.confirm("确定删除?",function(){
				$.post("http://localhost/qiye/admin.php?c=News&a=dels",{id:id},function(json){
					layer.msg(json.msg,{time:2000},function(){
						if(json.status==1){
							location.reload();
						}
					});
				},'json');
			});
			/*layer.msg('确定删除?', {
				  time: 0 //不自动关闭
				  ,btn: ['删除', '不删除']
				  ,yes: function(index){
				    layer.close(index);
				    $.ajax({
				    	type:"post",
				    	dataType:"json",
				    	url:"http://localhost/qiye/admin.php?c=News&a=dels",
				    	data:{id:id},
				    	success:function(data){
				    		layer.msg(data.msg,{time:1500});
							
				    	}
				    });
				  }
			});*/
		}
		window.jQuery || document.write("<script src='./Public/Admin/js/jquery-2.0.3.min.js'>"+"<"+"script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='./Public/Admin/js/jquery-1.10.2.min.js'>"+"<"+"script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='./Public/Admin/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
		</script>
		<script src="./Public/Admin/js/bootstrap.min.js"></script>
		<script src="./Public/Admin/js/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="./Public/Admin/js/excanvas.min.js"></script>
		<![endif]-->

		<script src="./Public/Admin/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="./Public/Admin/js/jquery.ui.touch-punch.min.js"></script>
		<script src="./Public/Admin/js/jquery.slimscroll.min.js"></script>
		<script src="./Public/Admin/js/jquery.sparkline.min.js"></script>
		<script src="./Public/Admin/js/flot/jquery.flot.min.js"></script>
		<script src="./Public/Admin/js/flot/jquery.flot.pie.min.js"></script>
		<script src="./Public/Admin/js/flot/jquery.flot.resize.min.js"></script>

		<!-- ace scripts -->

		<script src="./Public/Admin/js/ace-elements.min.js"></script>
		<script src="./Public/Admin/js/ace.min.js"></script>

</body>
</html>

